.comment-editor {
  flex: 1;
  margin-bottom: 20px;
  position: relative;

  .emoji-panel-open {
    margin-top: 10px;
  }

  .btn-wrap {
    position: absolute;
    right: 5px;
    bottom: 0px;
  }
}

.emoji-item-common {
  background: url('@/assets/images/comment/emoji_sprite.png');
  display: inline-block;

  &:hover {
    cursor: pointer;
  }
}

.emoji-size-small {
  // 表情大小
  zoom: 0.3;
}

.emoji-size-large {
  zoom: 0.5; // emojipanel表情大小
  margin: 4px;
}

.comment-input {
  height: 100px;
  width: 100%;
  border: 1px solid #cccccc;
  border-radius: 5px;
  padding: 10px;
  resize: none;

  &:focus {
    outline: none;
  }
}

.opration {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;


  .send-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }

  .emoji-panel-btn {
    &:hover {
      cursor: pointer;
      opacity: 0.8;
    }

    img {
      height: 24px;
      width: 24px;
    }
  }

  .comment-send-btn {
    width: 80px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: 1px solid #1da1f2;
    border-radius: 100px;
    box-sizing: border-box;
    font-weight: bold;
    font-size: 13px;
    color: #ffffff;
    background-color: #4ab3f4;

    &:hover {
      cursor: pointer;
    }
  }

  .comment-send-btn-bounce {
    position: relative;
  }

  .comment-send-btn-bounce:focus {
    outline: none;
  }

  .comment-send-btn-bounce:after {
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    border-radius: 100px;
    border: 0px solid #1da1f2;
    opacity: 0.7;
    transition: all 0.1s;
  }

  .comment-send-btn-bounce:active:after {
    //.bounce active时 伪元素:after的样式
    opacity: 1;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 100px;
    border: 2px solid #1da1f2;
    transition: all 0.2s;
  }
}

.comment-item {
  display: flex;
  margin-bottom: 15px;

  .comment-maim {
    flex: 1;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    border: 1px solid #ecf0f1;
    font-size: 13px;
    box-shadow: 2px 2px 15px #d2e7fd;
    -webkit-box-shadow: 2px 2px 15px #d2e7fd;

    .comment-editor {
      margin: 0 20px 20px;
    }

    .comment_hd {
      display: flex;
      background: #ecf0f1;
      padding: 8px 18px;

      .info {
        flex: 1;
        color: #7f8c8d;
        display: flex;

        p {
          color: #f7576c;
          margin-right: 10px;
          font-weight: bold;

          i {
            margin-right: 5px;
          }
        }

        .time,
        .tips {
          color: #606f7b;
        }
      }

      .floor {
        color: #f7576c;
        font-weight: bold;
      }
    }

    .comment_bd {
      padding: 15px 25px;
      font-size: 16px;

      p {
        padding: 18px;
        color: #f7f7f7;
        background: #282a36;
        border-top: 20px solid #222329;
        font-size: 13px;
      }
    }

    .comment_ft {
      text-align: right;
      padding: 0px 18px 8px;
      font-size: 18px;

      i {
        cursor: pointer;
      }
    }

    .reply_box {
      margin: 0 20px 20px;
      border: 1px solid #ecf0f1;

      .comment_bd {
        p {
          border: 0;
          background: #ffffff;
          color: #606f7b;
        }
      }
    }

    .reply-input {
      margin: 0 20px;
      display: none;
    }
  }
}
